Displays a Print dialog that allows the grid to be printed specifying the title that will be used as the print-job name, indicating whether the end user can specify the range of pages to print, and providing a callback that will handle the PrintProgression event, as well as indicating whether the progress window is displayed, and specifying a set of print options.
'Usage
Dim instance As DataGridControl
Dim documentTitle As String
Dim userPageRangeEnabled As Boolean
Dim progressCallback As EventHandler(Of ProgressEventArgs)
Dim showProgressWindow As Boolean
Dim ticket As PrintTicket
Dim value As Boolean
value = instance.Print(documentTitle, userPageRangeEnabled, progressCallback, showProgressWindow, ticket)
A string representing the title that will be used as the print-job name.
userPageRangeEnabled
true if the end user can specify the range of pages to print; false if all pages will be printed.
progressCallback
The callback that will handle the PrintProgression event.
showProgressWindow
true if the progress window is displayed; false otherwise.
ticket
A PrintTicket to indicate a set of print options to use.
Requirements
Target Platforms: Windows 11, Windows, 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2